/**
 * Copyright ©2016-2020 northkingbpo Corporation, All Rights Reserved
 * http://www.northkingbpo.net/
 */
package profile.hujia.http.client.jersey.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import profile.hujia.http.client.jersey.server.RemoteCallService;

/**
 * class info
 *
 * @author hujia
 * @date 2018/10/26 21:56
 */
@RestController
@RequestMapping
public class TestRemoteCall {

    @Autowired
    private RemoteCallService remoteCallService;

    @GetMapping("/get")
    public void test() {
        remoteCallService.getList();
    }

    @GetMapping("/post")
    public void add() {
        remoteCallService.add();
    }

}
